package cn.sciento.farm.devicemanager.common.constant;

/**
 * @author wumu
 * @version V1.0
 * @date 9/17/18
 * @time 5:43 PM
 */
public interface LoraWanConstant {
    String GATEWAY_PROFILE_ID = "6360dfa3-cef7-47c6-9c23-7192b515ada7";

    Long NETWORK_SERVER_ID = 4L;

    Long ORGANIZATION_ID = 1L;

    Long APPLICATION_ID = 2L;

    String DEVICE_PROFILE = "e44cd29a-85fc-4bd3-af30-fe22c04045da";

    String SERVICE_PROFILE = "d50a2b6c-19c9-4fcd-a12d-725da7c6827b";

    String APP_KEY = "f9f572fc7aa99a5a58e9c331d3127708";

    String MAC_VERSION = "1.0.2";

    String CLASS_A = "A";

    String CLASS_B = "B";

    String UPLINK_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/rx";
    String DOWNLINK_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/tx";
    String JOIN_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/join";
    String ACK_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/ack";
    String ERROR_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/error";
    String STATUS_TOPIC_TEMPLATE="lorawan/application/%s/device/%s/status";


}
